#pragma once
#include "CSprite.h"

class Object
{
protected:
	static unsigned int m_nCountObj;
public:
	Object();
	~Object();

	CSprite* m_Sprite;
	bool m_checkDie;
	RECT *m_ObRect;

	virtual void LoadSprite(LPD3DXSPRITE);
	virtual void Render();
	virtual void Next();
	virtual void Update();
	virtual void Collision(Object* Ob){}
	virtual void Crawl(){}
};